package com.advaita.util;

import java.awt.Font;

import javax.swing.JLabel;

public class JLabelAllinOne extends JLabel {

	public JLabelAllinOne(String text, String font, int face, int size) {
		setFont(new Font(font, face, size));
		setText(text);

	}

	public JLabelAllinOne(String text, String font, int face, int face2,
			int size) {
		setFont(new Font(font, face + face2, size));

		setText(text);

	}

	public JLabelAllinOne(String text, String font, int size) {

		setFont(new Font(font, Font.PLAIN, size));
		setText(text);

	}

}
